package com.example.blog.dto;

import jakarta.validation.constraints.NotEmpty;
import lombok.Data;

import java.time.LocalDateTime;

@Data
public class ArticleDTO {
    private Integer id;
    @NotEmpty
    private String title;
    private String coverurl;
    @NotEmpty
    private String abstracts;
    @NotEmpty
    private Integer category;
    private LocalDateTime createtime;
    private Integer likenumber;
    private Integer status;
    private String Message;
}
